﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Platform.Components.UI.View
{
    public enum CommanderType
    {
        /// <summary>
        /// 
        /// </summary>
        ForEdit,
        /// <summary>
        /// 
        /// </summary>
        ForNew,
        /// <summary>
        /// 
        /// </summary>
        ForOperation
    }
    public class ViewCommander
    {
        /// <summary>
        /// 命令标识
        /// </summary>
        public string CommanderKey { get; set; }
        /// <summary>
        /// 命令名称
        /// </summary>
        public string CommanderName { get; set; }
        /// <summary>
        /// 命令描述
        /// </summary>
        public string Description { get; set; }

        private CommanderType _CommanderType = CommanderType.ForEdit;

        public CommanderType CommanderType
        {
            get { return _CommanderType; }
            set { _CommanderType = value; }
        }

    }
}